source/ip2proxy-d/ip2proxy.d(500,20): Error: `@safe` function `ip2proxy.ip2proxy.is_proxy` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(464,20): Error: `@safe` function `ip2proxy.ip2proxy.get_proxy_type` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(434,20): Error: `@safe` function `ip2proxy.ip2proxy.get_country_short` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(440,20): Error: `@safe` function `ip2proxy.ip2proxy.get_country_long` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(446,20): Error: `@safe` function `ip2proxy.ip2proxy.get_region` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(452,20): Error: `@safe` function `ip2proxy.ip2proxy.get_city` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(458,20): Error: `@safe` function `ip2proxy.ip2proxy.get_isp` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(470,20): Error: `@safe` function `ip2proxy.ip2proxy.get_domain` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(476,20): Error: `@safe` function `ip2proxy.ip2proxy.get_usage_type` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(482,20): Error: `@safe` function `ip2proxy.ip2proxy.get_asn` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(488,20): Error: `@safe` function `ip2proxy.ip2proxy.get_as` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(494,20): Error: `@safe` function `ip2proxy.ip2proxy.get_last_seen` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(412,20): Error: `@safe` function `ip2proxy.ip2proxy.get_all` cannot call `@system` function `ip2proxy.ip2proxy.query` source/ip2proxy-d/ip2proxy.d(505,15): `ip2proxy.ip2proxy.query` is declared here source/ip2proxy-d/ip2proxy.d(179,10): Error: `@safe` function `ip2proxy.ip2proxy.close` cannot call `@system` function `object.destroy!(true, MmFile).destroy` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/object.d(3453,6): `object.destroy!(true, MmFile).destroy` is declared here source/ip2proxy-d/ip2proxy.d(188,18): Error: cast from `void[]` to `char[]` not allowed in safe code /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(36,28): Error: template instance `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (2 instantiations, -v to show) ... /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("^\\d+\\.\\d+\\.\\d+\\.\\d+$", [])` source/ip2proxy-d/ip2proxy.d(325,16): instantiated from here: `ctRegex!("^\\d+\\.\\d+\\.\\d+\\.\\d+$", [])` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(38,27): Error: template instance `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (2 instantiations, -v to show) ... /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("^\\d+\\.\\d+\\.\\d+\\.\\d+$", [])` source/ip2proxy-d/ip2proxy.d(325,16): instantiated from here: `ctRegex!("^\\d+\\.\\d+\\.\\d+\\.\\d+$", [])` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(536,41): Error: `@safe` function `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func).CtfeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.